home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: MegaDisc
/
MegaDisc 38 (1994-02)(MegaDisc Digital Publishing)(AU)(Disk 2 of 2).zip
/
MegaDisc 38 (1994-02)(MegaDisc Digital Publishing)(AU)(Disk 2 of 2).adf
/
Programming
/
Introduction_To_C
/
Chapter1
/
Chapter1
Wrap
Text File
|
1994-02-09
|
3KB
|
72 lines
Chapter One
Introduction To C Programming
by Jason Lowe
38 *^* 38 *^* 38 *^* 38 *^* 38 *^* 38 *^* 38 *^* 38 *^* 38 *^* 38
Which C compiler can I use?
Through this tutorial I will be using and making reference to a
public domain C compiler which can be found on fish 508. I have
taken this compiler and created a 2 disk set which is set up and
ready to go. This 2 disk set can be obtained from the public domain
libraries of Megadisc (UT 337 A,B). You can of course use your own
commerical compiler which should come with plenty of documentation
desribing how to use it and how it works.
Previous knowledge. What You Should Know.
Before you attempt C you should at least have some knowledge of the
amiga and be able to use the cli and a text-editor without to much
problem. If any (or all) of the following pose a problem or you
don't have a clue what is being discussed you should put C on hold
and try and learn how to do them.
1) You should be able to use a text-editor. With this text-editor you
need to be able to create and alter text files and store them on
disk or in ram.
2) You should have a fair idea on how to use a cli or shell. In
particular you should be able to copy files, delete files, rename
files and be familiar with the concept of directorys and sub-
directorys.
3) A fairly good understanding of mathematics.
It is also strongly suggested that you have some experience with
programming before you try C. BASIC is an excellent language in
obtaining the idea of how to program and what it's all about. BASIC
is usually standard on every computer (including the Amiga) and is
very easy to get into.
Learning C.
When you read through these files you should not expect to
understand everything from the word go. You should experiment with
the information and example programs and in general try programs of
your own. Over time you will start to understand more and more and
you will also develop knowledge that can only be aquired through
experimenting.
Other peoples code and doc files are an invaluable source of
information to someone just starting out in C. If you search your
local public domain library you will find many programs with their
source in C and some even with information on how the program was
created and what bugs were encountered.
The main thing you should try to do is enjoy yourself. Some people
start out hoping to create an incredible piece of software and
almost force themselves to learn. This really isn't the way to go.
If things aren't going your way try and get a fresh perspective by
taking a break for a few days (or even weeks).
38 *^* 38 *^* 38 *^* 38 *^* 38 *^* 38 *^* 38 *^* 38 *^* 38 *^* 38